package com.rainman.simpleredis.core.process_flow;

import java.util.List;

public interface SimpleProcessFlowListener {

    /**
     * 处理
     */
    void onDoing (String key,Integer index,String type);

    /**
     * 成功处理完成
     */
    void onSucc (String key, List<String> returnInfo);

    /**
     * 确认处理失败
     */
    void onErr (String key,String msg);


}
